<h2 class="sub-header">{{ title }}</h2>

<img src="./img/douzi.jpg" alt="" ng-show="loading">
<div class="list-group">
  <a href="#!/subject/{{ movie.id }}" class="list-group-item" ng-repeat="movie in movie_list.subjects track by $index">
    <div class="media">
      <div class="media-left">
        <img class="media-object" src="{{ movie.images.small }}" alt="...">
      </div>
      <div class="media-body">
        <h4 class="media-heading">{{ movie.title }}</h4>
        <p>类型：{{ movie.genres.join('、') }}</p>
        <p>导演：{{ movie.directors | getNames:'、' }}</p>
        <p>主演：{{ movie.casts | getNames:'、' }}</p>
      </div>
    </div>
  </a>
</div>
<p>总共：{{ movie_list.total }}条记录，第{{ page }}/{{ movie_list.total | getTotalPage : pageSize }}页</p>
<nav aria-label="...">
  <ul class="pager">
    <li ng-class="{ disabled: page <= 1 }"><a href="JavaScript:;" ng-click="go(page - 1)">上一页</a></li>
    <li ng-class="{ disabled: page >= totalPage }"><a href="JavaScript:;" ng-click="go(page + 1)">下一页</a></li>
  </ul>
</nav>
